package com.zzedu.params;

import jakarta.validation.constraints.NotNull;

import java.util.List;

public class OperateSchoolCourseRelatedParams {

    /**
     * 学校ID
     */
    @NotNull(message = "学校不能为空")
    private Long id;
    /**
     * 课程ID
     */
    @NotNull(message = "课程不能为空")
    private List<Long> courseIdList;

    /**
     * 1-关联
     * 2-移除
     */
    private Integer op;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<Long> getCourseIdList() {
        return courseIdList;
    }

    public void setCourseIdList(List<Long> courseIdList) {
        this.courseIdList = courseIdList;
    }

    public Integer getOp() {
        return op;
    }

    public void setOp(Integer op) {
        this.op = op;
    }
}
